@extends('default.layouts.personalPublic')
@section('title', '推荐给您的职位')
@section('headcss')
    @parent
    <link rel="stylesheet" href="{{asset('/default/css/personal/recommendedPost.css')}}">
@endsection
@section('rightcon')
    <div class="right">
        <!--推荐给您的职位-->
        <div class="jright">
            <div class="content">
                <div class="jobtitle">
                    <div class="tithead">
                        <h2>推荐给您的职位</h2>
                    </div>
                </div>
            </div>
            {{--合适的岗位--}}
            <div class="modifyJob">
                <span class="modifyText">可能适合您的岗位</span>
                <a class="modifySide" href="{{url('personal/resume_mange')}}">修改求职意向</a>
            </div>
            {{--岗位列表--}}
            @if(count($similarJobs) > 0)
                <div class="propertyJob">
                    <ul>
                        @foreach($similarJobs as $v)
                            <li>
                                <a href="{{url('jobinfo_'.idEncryption($v->id).'.html')}}" target="_blank">
                                    <dl>
                                        <dt>{{str_limit($v->job_title,28)}}</dt>
                                        <dd>{{str_limit($v->company_name,28)}}</dd>
                                        <dd><span class="slary">@if(empty($v->salary_above))面试@else{{$v->salary_above}}~{{$v->salary_below}}元/月@endif</span></dd>
                                    </dl>
                                </a>
                            </li>
                        @endforeach
                    </ul>
                </div>
            @endif
            {{--分页--}}
            <div class="page_list" style="width: 100%; float: left; margin-top:15px;">
                {!! $similarJobs->links() !!}
            </div>
        </div>
    </div>
@endsection
@section('footerjs')
    @parent
    <script>
        $('#recommended_post').addClass('on');
    </script>
@endsection